package cn.edu.scau.cmi.yeshaoying.abstractFactory.factory;

import cn.edu.scau.cmi.yeshaoying.abstractFactory.domain.PICCBodyInjury;
import cn.edu.scau.cmi.yeshaoying.abstractFactory.domain.PICCCarDamage;
import cn.edu.scau.cmi.yeshaoying.abstractFactory.domain.PICCCasualties;
import cn.edu.scau.cmi.yeshaoying.abstractFactory.domain.PICCOtherAccidents;
import cn.edu.scau.cmi.yeshaoying.abstractFactory.domainAbstractClass.InsuranceKind;

public class PICCFactory extends AbstractFactory {
	@Override
	public InsuranceKind create1() {
		return new PICCBodyInjury();
	}

	@Override
	public InsuranceKind create2() {
		return new PICCCarDamage();
	}

	@Override
	public InsuranceKind create3() {
		return new PICCCasualties();
	}
	
	@Override
	public InsuranceKind create4() {
		return new PICCOtherAccidents();
	}
}
